Randomized algorithm
part 7/32 · 53.0 KB total
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Early history
Sorting
Quicksort was discovered by Tony Hoare in 1959, and subsequently published in 1961.cite-ref-4[4] In the same year, Hoare published the quickselect algorithm,cite-ref-5[5] which finds the median element of a list in linear expected time. It remained open until 1973 whether a deterministic linear-time algorithm existed.cite-ref-6[6]
Number theory